#! /usr/bin/env python
# -*- coding: utf-8 -*-

import CashSuper


class CashRebate(CashSuper.CashSuper):

    def __init__(self, discount=0):
        self.discount = discount

    def AcceptCash(self, money):
        return money * self.discount
